HANDLE ViewReadMeFile()

{

STARTUPINFO         siStartInfo;

PROCESS_INFORMATION piProcessInfo;

// initialize with current task's startup info.

// ............................................

GetStartupInfo(&siStartInfo);

CreateProcess(NULL, "NOTEPAD README.TXT",

NULL,         // use default security attributes of process

NULL,         // use default security attributes of thread

FALSE,        // do not inherit handles from parent process

0,            // normal priority (creation flags)

NULL,         // use parent environment

NULL,         // launch in current directory

&siStartInfo, // startup data

&piProcInfo); // process data returned here



return( piProcInfo.hProcess );

}

